<?php
return [

    [
        'permission_mark' => 'admin',
        'permission_name' => '系统管理',
        'type' => 0,
        'icon' => 'Setting',
        'params' => '',
        'route' => 'admin',
        'component' => '/',
        'redirect' => '',
        'weigh' => 0,
        'children' => [
            [
                'permission_mark' => 'admin.auth',
                'permission_name' => '权限管理',
                'type' => 0,
                'icon' => 'CopyDocument',
                'params' => '',
                'route' => '/admin/auth/auth',
                'component' => '/',
                'redirect' => '',
                'weigh' => 0,
                'children' => [
                    [
                        'permission_mark' => 'admin.auth.user',
                        'permission_name' => '用户管理',
                        'type' => 1,
                        'icon' => 'User',
                        'params' => '',
                        'route' => '/admin/auth/user',
                        'component' => 'admin/views/auth/user/index',
                        'redirect' => '',
                        'weigh' => 0,
                    ],
                    [
                        'permission_mark' => 'admin.auth.role',
                        'permission_name' => '角色管理',
                        'type' => 1,
                        'icon' => 'Filter',
                        'params' => '',
                        'route' => '/admin/auth/role',
                        'component' => 'admin/views/auth/role/index',
                        'redirect' => '',
                        'weigh' => 0,
                    ],
                    [
                        'permission_mark' => 'admin.auth.dept',
                        'permission_name' => '部门管理',
                        'type' => 1,
                        'icon' => 'OfficeBuilding',
                        'params' => '',
                        'route' => '/admin/auth/dept',
                        'component' => 'admin/views/auth/dept/index',
                        'redirect' => '',
                        'weigh' => 0,
                    ],
                    [
                        'permission_mark' => 'admin.menu',
                        'permission_name' => '菜单管理',
                        'type' => 1,
                        'icon' => 'Menu',
                        'params' => '',
                        'route' => '/admin/auth/menu',
                        'component' => 'admin/views/auth/permissions/index',
                        'redirect' => '',
                        'weigh' => 0,
                    ],

                ]
            ],
            
            [
                'permission_mark' => 'admin.storage',
                'permission_name' => '存储配置',
                'type' => 1,
                'icon' => 'Files',
                'params' => '',
                'route' => '/admin/setting/storage',
                'component' => 'admin/views/setting/storage/index',
                'redirect' => '',
                'weigh' => 0,
            ],
            [
                'permission_mark' => 'admin.setting',
                'permission_name' => '系统配置',
                'type' => 1,
                'icon' => 'Operation',
                'params' => '',
                'route' => '/admin/setting/setting',
                'component' => 'admin/views/setting/system/index',
                'redirect' => '',
                'weigh' => 0,
            ],
            [
                'permission_mark' => 'admin.plugin',
                'permission_name' => '应用模块',
                'type' => 1,
                'icon' => 'SoldOut',
                'params' => '',
                'route' => '/admin/plugin/index',
                'component' => 'admin/views/plugin/index',
                'redirect' => '',
                'weigh' => 0,
            ],
            [
                'permission_mark' => 'admin.dict',
                'permission_name' => '数据字典',
                'type' => 1,
                'icon' => 'Coin',
                'params' => '',
                'route' => '/admin/dict/index',
                'component' => 'admin/views/dict/index',
                'redirect' => '',
                'weigh' => 0,
            ],
            [
                'permission_mark' => 'admin.iframe',
                'permission_name' => 'Iframe',
                'type' => 1,
                'icon' => 'SoldOut',
                'params' => '',
                'route' => '/admin/iframe/index',
                'component' => 'admin/views/common/iframe',
                'redirect' => 'https://cloud.tencent.com/',
                'weigh' => 0,
            ]
        ]
    ],
   

];
